package com.xy.work.template.app.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author niuniu
 * @Date: 2021/8/16 09:52
 * @Description:
 */
@ApiModel(value="LoginVo对象", description="登录成功展示")
@Data
public class LoginVo {
    @ApiModelProperty("用户访问凭证")
    private String token;
    @ApiModelProperty("生效截止时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lifeTime;
}
